<%-- 
    Document   : baochiviet
    Created on : Oct 19, 2012, 10:40:57 PM
    Author     : Phi
--%>
<%-- 
    Document   : quanlykhuyenmai
    Created on : Oct 19, 2012, 10:31:01 PM
    Author     : Phi
--%>

<%@page import="java.util.List"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Untitled Document</title>
</head>

<body background="images/body_bg.png">
<table width="800" border="0" align="center">
  <tr>
    <td height="150" colspan="2" bgcolor="#FF0000"><img src="images/banner.png" width="797" /></td>
  </tr>
  <tr>
    <td width="239" valign="top"  bgcolor="#ffe6d6">
    	<table width="100%" border="0" id="doimau">
              <tr  bgcolor="#f36909">
                <td align="center" style="color:#fff; padding-top:5px; border-bottom:dotted 1px;">QUẢN LÝ TIN TỨC</td>
              </tr> 
              <tr>
                <td align="center" style=" padding-top:5px; border-bottom:dotted 1px;"><a href="QuanLy.do?Action=View" style="text-decoration:none; color:#a24c41; ">Sự Kiện</a></td>
              </tr>
              <tr>
                <td align="center" style="color:#a24c41; padding-top:5px; border-bottom:dotted 1px;"><a href="QuanLyKhuyenMai.do?Action=View" style="text-decoration:none; color:#a24c41">Tin Khuyến Mãi</a></td>
              </tr>
              <tr>
                <td align="center" style="color:#a24c41; padding-top:5px; border-bottom:dotted 1px;"><a href="QuanLyBaoChiViet.do?Action=View" style="text-decoration:none; color:#a24c41">Báo Chí Viết</a></td>
              </tr>     
    	</table>
    </td>
    <td width="551" height="500" valign="top" bgcolor="#FFFFFF">
        <table width="100%" border="1">
        	<tr>
            	<td colspan="6" align="center" bgcolor="#5F5F5F" style="color:#FFF">DANH SÁCH BÁO CHÍ VIẾT</td>
            </tr>
          <tr>
            <td>Mã Báo Chí</td>
            <td>Tiêu Đề</td>
            <td>Hình Ảnh</td>
            <td>Ngày Viết</td>
          </tr>
            <c:forEach var="pt" items="${WebSites}">
           <tr>
            <td>${pt.maBaoChi}</td>
            <td>${pt.title}</td>
            <td><img src="images/${pt.logo}" width="50" height="30"/></td>
            <td>${pt.ngayViet}</td>
          </tr>
            </c:forEach>
          <tr>
              <td colspan="6" valign="top"><a href="ThemBaoChiViet.do?Action=View"><input type="submit" name="button" id="button" value="Thêm" /></a>
                  <a href="XoaBaoChiViet.do?Action=View"><input type="submit" name="button2" id="button2" value="Xóa" /></a></td>
          </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td colspan="2" align="center" bgcolor="#ffc59e" style="color:#a24c41">Ví điện tử</td>
  </tr>
</table>
</body>
</html>

